<?php
  @require_once("config.php");
  $goodsId = $_GET["goods_id"];
  $sql = "select * from goodlist where goods_id = '$goodsId'";
  $result = mysql_query($sql);
  $item = mysql_fetch_assoc($result);
  echo json_encode($item);
?>